package APE.Swing_Awt;

import java.awt.*;
import javax.swing.*;

public class MonPanel extends JPanel{
	public void paintComponnents(Graphics g){
			
	}

	
	MonPanel(){
		BorderLayout bl = new BorderLayout();
		setLayout(bl);

		
		JButton j1 = new JButton("coucou");
		
		add(j1,BorderLayout.SOUTH);
		add(new JButton("nord"),BorderLayout.NORTH);
		add(new JButton("est") ,BorderLayout.EAST);
		add(new JButton("west"),BorderLayout.WEST);
		add(new JButton("centre"),BorderLayout.CENTER);
		MonEcouteur ac = new MonEcouteur();
		j1.addActionListener(ac);
		
	}
}
